export const calculateWorkYears = () => {
  const startDate = new Date(2019, 6);
  const currentDate = new Date();
  const diffYears = currentDate.getFullYear() - startDate.getFullYear();
  const diffMonths = currentDate.getMonth() - startDate.getMonth();

  const totalYears = diffMonths < 0 ? diffYears - 1 : diffYears;
  return Math.max(totalYears, 0);
};